UnassociateHaVip
Description
Unbind HaVip from the VPC ECS instance.
Request Method
POST
Request Path
/apsara/route/Vpc/UnassociateHaVip
Request Parameters Common Parameters
| Name | Location | Type | Required | Sample value | Description |
|---|---|---|---|---|---|
| InstanceId | BODY | string | Yes | i-faf344422ffsfa**** | the ID of the ECS instance to be unbound. |
| Force | BODY | string | No | True | Whether to force unbinding, value:True or False (default). Description If the value of this parameter is False, the master instance cannot be unbound. |
| regionId | BODY | string | Yes | No sample value for this parameter. | region id |
| HaVipId | BODY | string | Yes | havip-2zeo05qre24nhrqpyf**** | HaVip instance ID. |
| RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID of the HaVip instance. You can obtain the region ID by calling the DescribeRegions interface. |
| ClientToken | BODY | string | No | 0c593ea1-3bea-11e9-b96b-88e9fe63**** | Ensure request idempotence. Generate a parameter value from your client to ensure that the parameter value is unique between different requests. ClientToken only ASCII characters are supported and cannot exceed 64 characters. |
| InstanceType | BODY | string | No | ecs.g5.large | ECS instance specifications. |
| version | BODY | string | No | 2016-01-01 | version of api |
Return data
| Name | Type | Sample value | Description |
|---|---|---|---|
| RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}